<?php
    //Constants
    define('CALENDAR_NUM_COLUMNS', 'calendarNumColumns');
    
    if(empty($_COOKIE[CALENDAR_NUM_COLUMNS])){
	    setcookie(CALENDAR_NUM_COLUMNS,            //name
	              4,                               //value
	              time()+(60*60*24*30),            //expire
                  '/',                             //available in the entire domain
                  $_SERVER['HTTP_HOST'],           //domain
                  false,                           //secure
                  true);                           //httponly
    }
?>
